/* Copyright(C): Leaf Johnson 2009,2010

    This file is part of leaf-lib.

    leaf-lib is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    leaf-lib is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with leaf-lib.  If not, see <http://www.gnu.org/licenses/>.


 * 
 * 
 */


#ifndef MTIMID_H_INCLUDED
#define MTIMID_H_INCLUDED


#define MtiMidWakeUp                         62
#define MtiMidWakeUpAck                      63
#define MtiMidGoToConfig                     48
#define MtiMidGoToConfigAck                  49
#define MtiMidGoToMeasurement                16
#define MtiMidGoToMeasurementAck             17
#define MtiMidReset                          164
#define MtiMidResetAck                       165
#define MtiMidReqDID                         0
#define MtiMidDeviceID                       1
#define MtiMidInitMT                         2
#define MtiMidInitMTResults                  3
#define MtiMidReqProductCode                 28
#define MtiMidProductCode                    29
#define MtiMidReqFWRev                       18
#define MtiMidFirmwareRev                    19
#define MtiMidReqDataLenth                   10
#define MtiMidDataLength                     11
#define CmtReqBaudrate                       24
#define MtiMidError                          66
#define MtiMidReqErrorMode                   218
#define MtiMidReqErrorModeAck                219
#define MtiMidSetErrorMode                   218
#define MtiMidSetErrorModeAck                219
#define MtiMidReqLocationID                  132
#define MtiMidReqLocationIDAck               133
#define MtiMidSetLocationID                  132
#define MtiMidSetLocationIDAck               133
#define MtiMidRestorFactoryDef               14
#define MtiMidRestorFactoryDefAck            15
#define MtiMidReqTransmitDelay               220
#define MtiMidReqTransmitDelayAck            221
#define MtiMidSetTransmitDelay               220
#define MtiMidSetTransmitDelayAck            221
#define MtiMidReqSyncInSettings              214
#define MtiMidReqSyncInSettingsAck           215
#define MtiMidSetSyncInSettings              214
#define MtiMidSetSyncInSettingsAck           215
#define MtiMidReqSyncOutSettings             216
#define MtiMidReqSyncOutSettingsAck          217
#define MtiMidSetSyncOutSettings             216
#define MtiMidSetSyncOutSettingsAck          217
#define MtiMidReqConfiguration               12
#define MtiMidConfiguration                  13
#define MtiMidReqPeriod                      4
#define MtiMidReqPeriodAck                   5
#define MtiMidSetPeriod                      4
#define MtiMidSetPeriodAck                   5
#define MtiMidReqOutputSkipFactor            212
#define MtiMidReqOutputSkipFactorAck         213
#define MtiMidSetOutputSkipFactor            212
#define MtiMidSetOutputSkipFactorAck         213
#define MtiMidReqObjectAlignment             224
#define MtiMidReqObjectAlignmentAck          225
#define MtiMidSetObjectAlignment             224
#define MtiMidSetObjectAlignmentAck          225
#define MtiMidReqOutputMode                  208
#define MtiMidReqOutputModeAck               209
#define MtiMidSetOutputMode                  208
#define MtiMidSetOutputModeAck               209
#define MtiMidReqOutputSettings              210
#define MtiMidReqOutputSettingsAck           211
#define MtiMidSetOutputSettings              210
#define MtiMidSetOutputSettingsAck           211
#define MtiMidReqData                        52
#define MtiMidMTData                         50
#define MtiMidReqHeading                     130
#define MtiMidReqHeadingAck                  131
#define MtiMidSetHeading                     130
#define MtiMidSetHeadingAck                  131
#define MtiMidResetOrientation               164
#define MtiMidResetOrientationAck            165
#define MtiMidReqUTCTime                     96
#define MtiMidReqUTCTimeAck                  97
#define MtiMidReqAvailableScenarios          98
#define MtiMidAvailableScenarios             99
#define MtiMidReqCurrentScenario             100
#define MtiMidReqCurrentScenarioAck          101
#define MtiMidSetCurrentScenario             100
#define MtiMidSetCurrentScenarioAck          101
#define MtiMidReqGravityMagnitude            102
#define MtiMidReqGravityMagnitudeAck         103
#define MtiMidSetGravityMagnitude            102
#define MtiMidSetGravityMagnitudeAck         103
#define MtiMidReqleverArmGPS                 104
#define MtiMidReqleverArmGPSAck              105
#define MtiMidSetleverArmGPS                 104
#define MtiMidSetleverArmGPSAck              105
#define MtiMidReqMagneticDeclination         106
#define MtiMidReqMagneticDeclinationAck      107
#define MtiMidSetMagneticDeclination         106
#define MtiMidSetMagneticDeclinationAck      107


#endif
